<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="meetingList" title="会议/通知" actionUrl="meetingController.do?datagrid" idField="id" fit="true" checkbox="true">
   <t:dgCol title="编号" field="id" hidden="false"></t:dgCol>
   <t:dgCol title="会议编号" field="meetingNumber" hidden="false"></t:dgCol>
   <t:dgCol title="会议标题" field="meetingTitle"  width="100"></t:dgCol>
   <t:dgCol title="会议议题" field="meetingContent" width="50" hidden="false"></t:dgCol>
   <t:dgCol title="会议时间" field="meetingTime" width="40" hidden="false"></t:dgCol>
   <t:dgCol title="会议地点" field="meetingPlace" width="40" hidden="false"></t:dgCol>
   <t:dgCol title="参会人员" field="meetingPerson" width="40" hidden="false"></t:dgCol>
   <t:dgCol title="有关事宜" field="meetingRequire" width="40" hidden="false"></t:dgCol>
   <t:dgCol title="发起者" field="publishBy" width="20"></t:dgCol>
   <t:dgCol title="发起日期" field="publishDate" formatter="yyyy-MM-dd" width="20"></t:dgCol>
   <t:dgCol title="备注" field="remark" hidden="false"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="15"></t:dgCol>
   <t:dgDelOpt title="删除" url="meetingController.do?del&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="meetingController.do?addorupdate" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="meetingController.do?addorupdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="meetingController.do?addorupdate" funname="detail"></t:dgToolBar>
      <t:dgFunOpt  title="预览"  funname="preview(id)"></t:dgFunOpt>
  </t:datagrid>
  
      <script type="text/javascript">
			function preview(id) {
				var url = 'meetingController.do?detail&id=' + id;
				createwindow('预览', url, 830, 400);
			}
		</script>
  </div>
 </div>